import os,sys
if sys.argv[1] == 'up':
    os.system('git init')
    os.system('git add *')
    os.system('git commit -m "The world is absurd and life is painful. "')
    os.system('git push -u origin "master"')
elif sys.argv[1] == 'get':
    # os.system('git init')
    # os.system('git add *')
    os.system('git pull origin master')
    os.system('git merge master')
    # os.system('git fetch origin master')
    # os.system('git merge origin/master')

elif sys.argv[1] == 'init':
    os.system('git clone git@gitee.com:china_lofty/shell.git')
    os.system('git config --global user.name "Haoxincheng"')
    os.system('git config --global user.email "5498713+china_lofty@user.noreply.gitee.com"')
    os.system('git init')
